﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="frmCreateTest.aspx.cs"
    Inherits="EXAM.Admin.Page_Admin.Windows.frmCreateTest" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

        <script type="text/javascript">
//<![CDATA[
    function GetRadWindow()
    {
        var oWindow = null;
        if (window.radWindow) oWindow = window.radWindow;
        else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
        return oWindow;
    }
    
    
    function returnToParent(temp1)
    {       
         
         var info = new Object();
             info.DlgRes =temp1;             
         
         var oWnd =GetRadWindow();
          if(info)
            {
          
                oWnd.close(info);
            }                  
    }   
    function Close()
    {
       
         
         var oWnd =GetRadWindow();
          if(info)
            {
          
                oWnd.close();
            }                  
    }
 
//]]>
        </script>

    </telerik:RadCodeBlock>
    <div align="center">
        <asp:GridView ID="dgvList" runat="server" AutoGenerateColumns="False" CellPadding="4"
            DataKeyNames="Code" ForeColor="#333333" GridLines="None" >
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <Columns>
                <asp:BoundField DataField="CODE" HeaderText="Code" />
                <asp:TemplateField HeaderText="Number of">
                    <ItemTemplate>
                        <asp:TextBox ID="txtNum" runat="server" Text="0" Width="100px"></asp:TextBox></ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="TOTAL" HeaderText="Total" />
            </Columns>
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#999999" />
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        </asp:GridView>
        <telerik:RadButton ID="btnOK" runat="server" Text="Run" Width="100px" OnClick="btnOK_Click">
        </telerik:RadButton>
    </div>
    </form>
</body>
</html>
